package com.chat.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author weikjie
 * @since 2024-04-14
 */
@TableName("t_admin")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String account;

    private String username;

    private String password;

    private Long roleId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "Admin{" +
            "id=" + id +
            ", account=" + account +
            ", username=" + username +
            ", password=" + password +
            ", roleId=" + roleId +
        "}";
    }
}
